﻿using System;
using System.Runtime.Serialization;

namespace PH.Model.Schools
{
    public class TeacherModel:MBase
    {
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public int ID { get; set; }
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public System.Guid Guid { get; set; }
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public int SchoolID { get; set; }
        [Model]
        [DataMember]
        public string RealName { get; set; }
        [Model]
        [DataMember]
        public string Mobile { get; set; }
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public System.DateTime CreatedOn { get; set; }
    }

    public class TeacherCollection : ModelCollectionBase<TeacherModel> { }

    public class TeacherQuery : QueryBase
    {
        public Guid SchoolGuid { get; set; }
        public string Key { get; set; }
    }
}
